Skip to main content

Cambria FTC: ARIB STD B37 Captions Extraction in MXF and Conversion to WebVTT and Burning the Captions in Video

Version 1 - 11/28/2023

Table of Contents

Note:

This workflow supports ARIB STD B37 caption extraction from MXF files only as of 11/28/2023. Captions in TS streams may be supported in the future.

Step 1: Detecting ARIB STD B37 Captions

Submit a job through API:

POST: https://localhost:8648/CambriaFC/v1/Jobs

Sample JobXML for the Body of the API call:

-Please replace SourceFilename with the path to your source

-Please replace OutputFilename with the output location and name you desire

Screenshot

Screenshot

The job will be queued to the FTC Manager and complete.

Sample output:

Please search for Metadata HasSTDB37 in the output. If it’s set to 1 then the source has captions otherwise no captions have been detected on the source.

Screenshot

Screenshot

Step 2: Extract Captions to WebVTT

FTC will extract captions from a source file and generate a WebVTT output.

  1. Import your source into FTC.

Screenshot

  1. Add a closed caption exporter preset.

Screenshot

  1. In the preset editor:
    • Set Container to Closed Captions.
    • Source Caption Mode should be ARIB-STD-B37.
    • Specify an output directory and filename.
    • Enable Include Font Size info (cue) to preserve font size.

Screenshot

  1. Queue the job.

Screenshot

  1. The job will process in Cambria Manager, where you can monitor status.

Screenshot

Sample WebVTT Output:

Screenshot

Step 3: Burn in WebVTT Captions on Video

  1. Import the source as in previous steps and add a source-side filter.

  2. Apply Timecode Overwrite Filter to reset timecode to match the WebVTT file.

  3. Add Subtitle Burn-In as a filter.

Screenshot

Next Please choose Subtitile burn in as the filter

Screenshot

  1. Configure the filter:
    • Set Subtitle Source Type to Web Video Text Tracks Format.
    • Browse and select the WebVTT file generated in Step 2.
    • Enable:
      • Use Embedded Formatting
      • Captions are Formatted with ARIB STD-B37
      • Use Background
    • Use a monospaced font (e.g., Noto Sans JP from Google Fonts).

Screenshot

  1. Ensure two source-side filters are set in this order:

Screenshot

  1. Switch to the Encoding Tab, add an encoding preset.

Screenshot

  1. Queue the job in Manager and wait for the output video with burnt-in subtitles.

Screenshot